﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreShop.Model
{
    public class ActivityOrderingDto
    {
        /// <summary>
        /// 活动ID
        /// </summary>
        public System.Int64 activityInfoId { get; set; }

        /// <summary>
        /// 项目ID（分类与商品)
        /// </summary>
        public System.Int64 itemId { get; set; }

        /// <summary>
        /// 参与商品类型 0 全部 1 指定分类 2指定商品
        /// </summary>
        public System.Int32 goodsType { get; set; }

        /// <summary>
        /// 订单的数量
        /// </summary>
        public System.Decimal quantity { get; set; } = 0;

        /// <summary>
        /// 订单的金额
        /// </summary>
        public System.Decimal realAmount { get; set; }

        /// <summary>
        /// 排除的数量
        /// </summary>
        public System.Decimal excQuantity { get; set; } = 0;

        /// <summary>
        /// 排除的金额
        /// </summary>
        public System.Decimal excAmount { get; set; } = 0;

        /// <summary>
        /// 活动子类型id
        /// </summary>
        public System.Int32 activitySubTypeId { get; set; }        
    }    
}